package com.adminserver.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 管理员个人资料扩展
 * @TableName admin_profile
 */
@TableName(value ="admin_profile")
@Data
@EqualsAndHashCode(callSuper = true)
public class AdminProfileExtendEntity extends UserProfileEntity {
    /**
     * 管理员账号
     */
    @TableId(value = "account")
    private String account;

    /**
     * 部门
     */
    @TableField(value = "department")
    private String department;

    /**
     * 职位
     */
    @TableField(value = "position")
    private String position;

    /**
     * 员工编号
     */
    @TableField(value = "employee_id")
    private String employeeId;
    
    /**
     * 入职日期
     */
    @TableField(value = "hire_date")
    private String hireDate;
    
    /**
     * 管理区域
     */
    @TableField(value = "managed_area")
    private String managedArea;
} 